fix: Summary of Changes#79
Merged
Merged
Conversation
✅ @baloise/web-app-validators-angular (validators-angular/package.json)
Updated main: dist/fesm2020/baloise-web-app-validators-angular.mjs → dist/fesm2022/baloise-web-app-validators-angular.mjs
Updated module: dist/fesm2015/baloise-web-app-validators-angular.js → dist/fesm2022/baloise-web-app-validators-angular.mjs
Added "type": "module" for ES module support
Added exports field with proper subpath exports for modern bundlers
✅ @baloise/web-app-pipes-angular (pipes-angular/package.json)
Updated main: dist/fesm2020/baloise-web-app-pipes-angular.mjs → dist/fesm2022/baloise-web-app-pipes-angular.mjs
Updated module: dist/fesm2015/baloise-web-app-pipes-angular.js → dist/fesm2022/baloise-web-app-pipes-angular.mjs
Added "type": "module" for ES module support
Added exports field with proper subpath exports for modern bundlers
These changes ensure that:
Modern bundlers (esbuild, Angular 17+) can properly resolve these packages
The correct fesm2022 paths are used instead of the non-existent fesm2020/fesm2015 files
The exports field provides proper entry point configuration for different module formats
Type definitions are correctly exposed via the types field
There was a problem hiding this comment.
Pull request overview
This PR updates the published entry-point metadata for the Angular wrapper packages so modern toolchains (Angular 17+/esbuild) resolve the correct ES module outputs (fesm2022/esm2022) instead of older, potentially missing build targets.
Changes:
- Switch
main/moduletodist/fesm2022/*.mjsand mark packages as ESM via"type": "module". - Add an
exportsmap exposing types and the intended ESM entry points for bundlers. - Apply the same packaging metadata changes to both
validators-angularandpipes-angular.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/validators-angular/package.json | Updates ESM entry points and adds exports for modern resolution. |
| packages/pipes-angular/package.json | Updates ESM entry points and adds exports for modern resolution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
nobilo
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #
{{short description}}
Changelog
New
Changed
Removed